{# empty Twig template #}

{% extends'CNAMActimanBundle::layoutBody.html.twig' %}
       
        
        
{% block body %}


    {% block content %}

        <div class="row">
            <ul class="breadcrumb" style="margin-bottom: 5px;">
                <li>
                    Vous êtes ici :  
                </li>
                <li>
                    <a href="#">Gestion procédures</a>  
                </li>
                <li>
                    <a href="#">Planification</a>  
                </li>
            </ul>
            <div class="col-lg-12">
                <h2><center>{{ procedureplan.acProcedure.nomProcedure }}</center></h2>
            </div>
            <div class="col-lg-12">
                <hr align="center" width="90%" size="5">
                <h3>Responsable Procédure : {{ procedureplan.acProcedure.user.nomUser }} {{ procedureplan.acProcedure.user.prenomUser }}</h3>
                    <h3>Date de création : {{ procedureplan.acProcedure.dateCreation|date('d-m-Y') }}</h3>
                    <h3>Date de modification : {{ procedureplan.acProcedure.dateModification|date('d-m-Y') }}</h3>
                    <h3>Service : {{ procedureplan.acProcedure.service.nomService }}</h3>
                
                               
              
            </div>                       
            
            <div class="col-lg-12">
                <div class="row">
                    <div class="panel panel-default">
                        <div class="panel-body">
                            {{ form_start(form_proc) }}
                            <div class="col-lg-6">
                                <div class="form-group">
                                    <div class="control-group">
                                        <label class="control-label">Date de début de la Procédure :</label>
                                            <div class="controls">
                                            {{ form_errors(form_proc.dateDebutProc) }}
                                            {{ form_widget(form_proc.dateDebutProc, { 'attr':{'checked':procedureplan.dateDebutProc} }) }}
                                            </div>
                                    </div> 
                                </div>
                                <div class="form-group">
                                    <div class="control-group">
                                        <label class="control-label">Date de fin de la Procédure :</label>
                                        <div class="controls">
                                        {{ form_errors(form_proc.dateFinProc) }}
                                        {{ form_widget(form_proc.dateFinProc, { 'attr':{'checked':procedureplan.dateFinProc} }) }}
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="control-group">
                                        <label class="control-label">Période :</label>
                                        <div class="controls">
                                        {{ form_errors(form_proc.periode) }}
                                        {{ form_widget(form_proc.periode, { 'attr': { 'class' :"form-control-s", 'value':procedureplan.periode} }) }}
                                        </div>
                                    </div> 
                                </div>
                            </div> 
                        </div>
                    </div> 
                    {{ form_rest(form_proc) }}                        
                    <div class="form-actions">          
                        <center><input type="submit" class="btn btn-primary" value="Valider" style="width:100px"/></center>
                    </div>         
                    {{ form_end(form_proc) }}
                </div>
            </div>
    {% endblock%}
{% endblock%}
